<template>
  <div>
    <div class="footer_wrap">
 <router-link :to=`/login?${username}&${age}`>登录</router-link>
<router-link to="/register/harry/28">注册</router-link>
<router-link to="/article">文章</router-link>
<router-link to="/list">列表</router-link>
    </div>
    <div class="top">
      <router-view></router-view>
    </div>
  </div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
</template>
 
<script>
export default {
  components: {},
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped lang='less'>
     .footer_wrap {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  width: 100%;
  text-align: center;
  background-color: #333;
  color: #ccc;
}
.footer_wrap a {
  flex: 1;
  text-decoration: none;
  padding: 20px 0;
  line-height: 20px;
  background-color: #333;
  color: #ccc;
  border: 1px solid black;
}
.footer_wrap a:hover{
  color: red;
}
.top{
  padding-top: 65px;
}
.aa{
  color: red !important;
  background-color: #fff !important
}
.bb{
  color:red
}
</style>